|
자바네트워크I/O |
[1] |
|
등록일:2008-03-12 09:59:16 (0%) 작성자: 제목:Simple directory lister |
|
public class Ls {
public static void main(String argh_my_aching_fingers[]) {
String[] dir = new java.io.File(".").list(); // Get list of names
java.util.Arrays.sort(dir); // Sort it (Data Structuring chapter))
for (int i = 0; i < dir.length; i++)
System.out.println(dir[i]); // Print the list
}
} |
[본문링크] Simple directory lister
|
[1]
|
|
|
|
|
코멘트(이글의 트랙백 주소:/cafe/tb_receive.php?no=2522 |
|
|
|
|
|
|
|
|
|
Copyright byCopyright ⓒ2005, SSISO Community All Rights Reserved.
|
|
|